Fully Qualified Name: | Laminas\View\Helper\RenderChildModel |
Extends: | AbstractHelper |
Helper for rendering child view models
Finds children matching "capture-to" values, and renders them using the composed view instance.
Name | Description | Defined By |
---|---|---|
__invoke() | Invoke as a function | RenderChildModel |
getView() | Get the view object | AbstractHelper |
render() | Render a model | RenderChildModel |
setView() | Set the View object | AbstractHelper |
Invoke as a function
Proxies to {render()}.
Parameter Name | Type | Description |
---|---|---|
$child | string |
Returns: string
Get the view object
Returns: null|\Renderer
Render a model
If a matching child model is found, it is rendered. If not, an empty string is returned.
Parameter Name | Type | Description |
---|---|---|
$child | string |
Returns: string
Set the View object
Parameter Name | Type | Description |
---|---|---|
$view | \Renderer |
Returns: \AbstractHelper